Skip to content

Compatible with springboot 3.4.x for ClienthttpResponse#3929

Open
zt9788 wants to merge 1 commit into
alibaba:2023.xfrom
zt9788:compatible-sb3.4
Open

Compatible with springboot 3.4.x for ClienthttpResponse#3929
zt9788 wants to merge 1 commit into
alibaba:2023.xfrom
zt9788:compatible-sb3.4

Conversation

@zt9788

@zt9788 zt9788 commented Dec 24, 2024

Copy link
Copy Markdown

Describe what this PR does / why we need it

springboot 3.4.x removd AbstractClientHttpResponse

Does this pull request fix one issue?

Describe how you did it

change the AbstractClientHttpResponse to ClientHttpResponse

@oss-sentinel-ai oss-sentinel-ai left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary

Correct compatibility fix for Spring Boot 3.4.x / Spring Framework 6.2. AbstractClientHttpResponse was removed, so switching to the ClientHttpResponse interface with an explicit getStatusCode() implementation is the right approach. The deprecated getRawStatusCode() is retained for backward compatibility with older Spring versions.

LGTM.


Automated review by github-manager-bot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants